.op-group {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 4px 0 rgba(88, 98, 230, 0.2);
  font-family: 'Microsoft YaHei', '微软雅黑', 'Arial Narrow', Arial, sans-serif;
  height: auto;
  padding-bottom: 8px;
  width: 100%;

  .op-title {
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
    border-radius: 4px 4px 0 0;
    color: #373b52;
    font-size: 16px;
    font-weight: 400;
    height: 44px;
    letter-spacing: 1px;
    line-height: 44px;
    margin-bottom: 8px;
    padding: 0 28px;
  }

  .option-item {
    background: #fff;
    color: #5d637e;
    position: relative;

    .check-item ,
    .title-row,
    .op-sub-title,
    .sub-item {
      &:hover {
        .view-icon {
          opacity: 1;
        }
      }
    }

    .title-row {
      cursor: pointer;
      display: flex;
      flex-flow: row nowrap;
      min-height: 38px;
      padding: 8px 22px 0 26px;

      .label {
        display: inline-block;
        flex: 1;
        margin-right: 6px;
        min-width: 84px;
        overflow: hidden;
        padding-left: 2px;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      &.no-sub {
        line-height: 20px;

        &.cell-replace {
          display: flex;
          flex-flow: row;
          flex-wrap: nowrap;
          justify-content: space-between;

          &.fixed {
            display: block;
          }



          /deep/ .ant-input {
            flex: 1;
            width: 100px;
          }

          .op-btn {
            display: block;
          }
        }
      }
    }

    .op-btn {
      display: none;
      float: right;
      margin-left: 10px;
    }

    &:hover {
      background: rgba(103, 113, 252, 0.1);

      .op-btn {
        display: block;
      }
    }
  }

  .op-sub-title {
    color: #5d637e;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    margin: 0;
    padding: 0 28px 8px;

    // .op-sub-title {

    // }

    &.h38 {
      height: 38px;
      line-height: 38px;
    }
  }

  .sub-item {
    min-height: 38px;
    padding: 0 28px;
    vertical-align: middle;

    .check-item {
      cursor: pointer;
      display: inline-block;
      height: 100%;
      line-height: 16px;
      padding-left: 2px;
      padding-top: 10px;
      vertical-align: middle;

      /deep/ .comp-vr-status {
        transform: translateY(2px);
      }
    }

    .comp-vr-status {
      line-height: 16px;
      margin-right: 12px;
    }

    &:hover,
    &.active {
      background: rgba(103, 113, 252, 0.1);
    }
  }

  .mt8 {
    margin-top: 8px;
  }


  .detail-panel {
    position: relative;

    /deep/ .ant-radio-group {
      color: #5d637e;
      display: block;
      font-size: 14px;
      letter-spacing: 1px;
      padding: 0 28px;
      width: 100%;

      .ant-radio-wrapper {
        height: auto;
        margin-bottom: 10px;
        width: 100%;
      }

      .ant-radio {
        color: #5d637e;
        font-size: 14px;
        letter-spacing: 1px;
      }
    }
  }

  .button-row {
    height: 32px;
    margin-top: 8px;
    padding-right: 28px;
    text-align: right;

    .op-btn-sub {
      margin-left: 10px;
    }
  }

  .replace-value-box {
    padding-bottom: 10px;
    padding-left: 34px;
    padding-top: 8px;
    width: 100%;

    &.fixed {
      padding-left: 30px;
    }

    .active {
      background: rgba(103, 113, 252, 0.1);
    }
  }

  .replace-value {
    height: auto;
    width: calc(100% - 22px);

    &.fixed {
      width: 100%;
    }
  }

  /deep/ .fix-group {
    .ant-radio-wrapper:first-child {
      margin-bottom: 48px;
    }
  }

  .merge-item-column {
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    margin: 10px 0 16px;
    padding: 0 28px;

    .label {
      width: 80px;
    }

    /deep/ .ant-input {
      flex: 1;
      width: 284px;
    }
  }

  .cell-replace-value {
    width: 130px;

    &.fixed {
      margin: 10px 0;
    }
  }

  .view-icon {
    color: #5e647f;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    left: 2px;
    opacity: 0;
    padding: 0 4px;
    position: absolute;
    transform: translateY(-2px);
    transition: all 0.2s ease-in;

    &.sub-icon {
      transform: translateY(1px);
    }
  }
}

.clear-float {
  clear: both;
  zoom: 1;
}

.title-row.fixed {
  align-content: center;
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  height: auto;
  position: relative;

  &:hover {
    .view-icon {
      opacity: 1;
    }
  }

  .view-icon {
    transform: translateY(-1px);
  }

  .label {
    display: inline-block;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.pb10 {
  padding-bottom: 10px;
}

.op-group .option-title {
  color: #5d637e;
  font-size: 14px;
  letter-spacing: 1px;
}

.sub-item.fixed {
  padding-left: 30px;
}

.label.fixed {
  padding-left: 0;
}

.range-box,
.gt-box {
  display: inline-block;
}

/deep/ .values {
  display: inline-block;
  max-width: 110px;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.op-group.comp-option-edit-panel {
  .option-item {
    .title-row {
      .label {
        &.edit-label {
          padding-left: 0;
          white-space: break-all;
        }
      }
    }

    .sub-item {
      margin-top: 6px;
      padding-bottom: 8px;
      padding-top: 8px;

      .edit-label {
        padding-left: 4px;
      }
    }

    .edit-replace-value {
      margin-left: 5px;
      margin-top: 6px;
      width: 100%;
    }
  }
}
